﻿using System;
using Castle.ActiveRecord;

namespace Hadlow.Jobvertizer.Models
{
    [ActiveRecord]
    public class CardType : Entity
    {
        string name;

        [Property]
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        bool requiresIssueNumber;

        [Property]
        public bool RequiresIssueNumber
        {
            get { return requiresIssueNumber; }
            set { requiresIssueNumber = value; }
        }
    }
}
